﻿//-----------------------------------------------------------------------
// <copyright>
// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
// </copyright>
//----------------------------------------------------------------------- 

namespace Fulcrum.UnitTests
{
    public static class FulcrumCodeGenerator
    {
        public static FulcrumSettings CreateSettings()
        {
            var settings = new FulcrumSettings();
            return settings;
        }

        public static void GenerateCode(FulcrumSettings settings, GenerationUnit generationUnit)
        {
            var engine = new FulcrumEngine(settings, generationUnit);

            engine.Run();
        }
    }
}
